package com.investmenttechnologyservices.services;

import java.util.Date;
import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.google.appengine.api.datastore.Key;
import com.investmenttechnologyservices.model.Position;

public interface PositionService {
	
	void findAll(HttpServletRequest req, HttpServletResponse res) throws Exception;

	List<Position> getSymbolPositionsAsOf(Date asOfDate, Key accountKey,
			List<Key> symbolKeys, Boolean tradesOnly);
	List<Position> getCurrentAccountPositions(Key accountKey);
	List<Position> getAccountPositionsAsOf(Key accountKey, Date asOfDate);

	List<Position> getMultipleAccountsPositionsAsOf(List<Key> accountKeys);

}
